/*
 * Copyright (c)  2020,  DataPipeline
 * All rights reserved.
 *
 * Id:ClassPath.java   2020-07-26 22:46 wanglijun
 */
package cn.datacare.kafka.stream;

import cn.datacare.kafka.stream.wordcount.SimpleProducer;
import org.junit.Test;

import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.file.Path;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2020
 * </p>
 * <p>
 * Company/Department: DataPipeline
 * </p>
 *
 * @author wanglijun
 * @version 1.0
 * @since 2020-07-26 22:46
 */
public class ClassPath {

    @Test
    public void setClassPath(){
            String path=SimpleProducer.class.getResource("/").getPath();
            System.out.println(path+"wordcount.txt.txt");

    }
}
